import { MonitorHttp } from "../../../http/monitor"

const getMonitorData = async (monitordata) => {
  let res = await MonitorHttp.getMonitorData()
  console.log(res)
  if (res.code == 200) {
    monitordata.value = res.result
  }
}
export { getMonitorData }
